package com.cloudbroker.bcs.platform.dav.bizapi.service.business.history.result;

import java.io.Serializable;

import com.cloudbroker.bcs.common.util.DateTimeUtil;

/**
 * Created by zhaojp18008 on 2016/5/10.
 */
public class HistoryListData implements Serializable {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    private Long id;
    private String send_time;
    private String tag_id;
    private String content;
    private String broker_avatar;
    private String broker_name;
    private String tag_name;
    private String answer_content;
    private String avatar;
    private String customer_name;
    private String answer_tag;
    private String label;
    private String answer_time;
    private Integer info_type;
    private Long broker_id;
    private String position_str;
    private String img_audio;
    private String public_flag;          //观点类型 0-普通观点  1-自媒体
    private String viewpoint_title;
    private String public_review_status;   //观点是否审核通过0-未审核，1-通过，2-未通过

    public String getPublic_review_status() {
        return public_review_status;
    }

    public void setPublic_review_status(String public_review_status) {
        this.public_review_status = public_review_status;
    }

    public String getImg_audio() {
		return img_audio;
	}

	public void setImg_audio(String img_audio) {
		this.img_audio = img_audio;
	}

	public String getLabel() {
        return label;
    }
    
    public void setLabel(String label) {
        this.label = label;
    }
    
    public String getPosition_str() {
        return position_str;
    }
    
    public void setPosition_str(String position_str) {
        this.position_str = position_str;
    }
    
    public void setPositionStrByTime(String position_str) {
        this.setPosition_str(String.valueOf(DateTimeUtil.getTimeStampByPositionStr(position_str)));
    }
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getSend_time() {
        return send_time;
    }
    
    public void setSend_time(String send_time) {
        this.send_time = send_time;
    }
    
    public String getTag_id() {
        return tag_id;
    }
    
    public void setTag_id(String tag_id) {
        this.tag_id = tag_id;
    }
    
    public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    public String getBroker_avatar() {
        return broker_avatar;
    }
    
    public void setBroker_avatar(String broker_avatar) {
        this.broker_avatar = broker_avatar;
    }
    
    public String getBroker_name() {
        return broker_name;
    }
    
    public void setBroker_name(String broker_name) {
        this.broker_name = broker_name;
    }
    
    public String getTag_name() {
        return tag_name;
    }
    
    public void setTag_name(String tag_name) {
        this.tag_name = tag_name;
    }
    
    public String getAnswer_content() {
        return answer_content;
    }
    
    public void setAnswer_content(String answer_content) {
        this.answer_content = answer_content;
    }
    
    public String getAvatar() {
        return avatar;
    }
    
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    
    public String getCustomer_name() {
        return customer_name;
    }
    
    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }
    
    public String getAnswer_tag() {
        return answer_tag;
    }
    
    public void setAnswer_tag(String answer_tag) {
        this.answer_tag = answer_tag;
    }
    
    public String getAnswer_time() {
        return answer_time;
    }
    
    public void setAnswer_time(String answer_time) {
        this.answer_time = answer_time;
    }
    
    public Integer getInfo_type() {
        return info_type;
    }
    
    public void setInfo_type(Integer info_type) {
        this.info_type = info_type;
    }
    
    public Long getBroker_id() {
        return broker_id;
    }
    
    public void setBroker_id(Long broker_id) {
        this.broker_id = broker_id;
    }

    public String getPublic_flag() {
        return public_flag;
    }

    public void setPublic_flag(String public_flag) {
        this.public_flag = public_flag;
    }

    public String getViewpoint_title() {
        return viewpoint_title;
    }

    public void setViewpoint_title(String viewpoint_title) {
        this.viewpoint_title = viewpoint_title;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("HistoryListData{");
        sb.append("id=").append(id);
        sb.append(", send_time='").append(send_time).append('\'');
        sb.append(", tag_id='").append(tag_id).append('\'');
        sb.append(", content='").append(content).append('\'');
        sb.append(", broker_avatar='").append(broker_avatar).append('\'');
        sb.append(", broker_name='").append(broker_name).append('\'');
        sb.append(", tag_name='").append(tag_name).append('\'');
        sb.append(", answer_content='").append(answer_content).append('\'');
        sb.append(", avatar='").append(avatar).append('\'');
        sb.append(", customer_name='").append(customer_name).append('\'');
        sb.append(", answer_tag='").append(answer_tag).append('\'');
        sb.append(", label='").append(label).append('\'');
        sb.append(", answer_time='").append(answer_time).append('\'');
        sb.append(", info_type=").append(info_type);
        sb.append(", broker_id=").append(broker_id);
        sb.append(", position_str='").append(position_str).append('\'');
        sb.append(", img_audio='").append(img_audio).append('\'');
        sb.append(", public_flag='").append(public_flag).append('\'');
        sb.append(", viewpoint_title='").append(viewpoint_title).append('\'');
        sb.append(", public_review_status='").append(public_review_status).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
